package tut.thread.wait.viduhay.Chat;


	class T2 implements Runnable {
		Chat m;
		String[] s2 = { "Hi", "I am good, what about you?", "Great!" };

		public T2(Chat m2) {
			this.m = m2;
			new Thread(this, "Answer").start();
		}

		public void run() {
			for (int i = 0; i < s2.length; i++) {
				m.Answer(s2[i]);
			}
		}

}
